<?php
/**
 */

namespace App\DesignPattern\Decorator;

use App\DesignPattern\Decorator\WriterDecorator;


class SizeWriterDecorator implements WriterDecorator
{
    public function beforeWrite()
    {
        echo '<div style="font-size: 25px;">';
    }

    public function afterWrite()
    {
        echo '</div>';
    }
}